POV-Ray : Newsgroups : povray.general : unexpected rotation result : Re: unexpected rotation result Server Time
8 Aug 2024 16:17:42 EDT (-0400)
  Re: unexpected rotation result  
From: Scott Hill
Date: 6 Feb 2001 13:27:35
Message: <3a804217@news.povray.org>
"Marc-Hendrik Bremer" <Mar### [at] t-onlinede> wrote in message
news:3a7feea6$1@news.povray.org...
>
> Scott Hill schrieb in Nachricht <3a7fe7cb@news.povray.org>...
> >Without brackets it is ambiguous, to a
> >degree - we may default to assuming that we're meant to follow the
standard
> >operator order rules but we don't and can't know that that assumption is
> >correct.
>
>
> Well, it is even ambiguous with brackets. Cause if you don't fallow the
> standard rules, you could give the brackets a totally different meaning.
> That's what makes all communication that faulty - we assume, that we
follow
> the same rules, but most of the time we don't. As a wise man said ones -
it
> is more of an wonder that communication does happens most of the time in a
> correct way than the opposite.
>

    Hmm, yes, but not in the same way - you may as well say that it's
ambiguous because we _could_ interpret the numerical digits differently -
the problem is not that we're misinterpret anything, but, rather that there
isn't enough information in the original form - we need the precedence rules
to remove the ambiguity but they do not redefine or even clarify the meaning
of any of the symbols ('+' stills means 'plus', '-' still means 'minus' and
'*' still means 'times'). Likewise, adding brackets does not change the
meanings of any of the symbols, they just clarify how those symbols are
intended to interact.

Does that make any sense ?

Scott.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.